package cn.edu.zafu.bigdata.x.wupeng.h;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class StandardIOTest {
    public static void main(String[] args) throws IOException {
        while (true){
            System.out.print("请输入你的姓名：");
            InputStreamReader reader = new InputStreamReader(System.in);
            BufferedReader in = new BufferedReader(reader);
            String name = in.readLine();
            if (name.equals("QUIT")) break;
            System.out.println("你好，" + name);
        }
    }
}
